package com.ybb.account.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ybb.account.entity.UserEntity;
import org.apache.ibatis.annotations.*;

@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {

    @Select("select * from ybb_user where code=#{code}")
    UserEntity getUser(@Param("code") String code);

}
